import {request} from "../../utils/request"
//查找分类类型
export let getClassification= (params:object)=>{
	return request.postRequest<number|undefined>("classifyList",params)
}
// 添加分类 
export let addClassification= (params:object)=>{
	return request.postRequest<number|undefined>("addClassify",params)
}
// 删除分类 
export let delClassification= (params:object)=>{
	return request.postRequest<number|undefined>("deleteClassify",params)
}
// 搜索分类
export let searchClassification= (params:object)=>{
	return request.postRequest<number|undefined>("searchClassify",params)
}